module.exports = {
    "deps": {
        
    },
    "build": [
        ["cd", "ui"],
        (options) => {
            return @.async(function() {
                if (@.fs.exists.dir(@.fs.resolvePath(process.cwd(), "mew-iview"))) {
                    this.next()
                } else {
                    @.task.execute("git", ["clone", "http://develop.coolcto.com/chenhaodong/mew-iview.git"], this.test)
                }
            })
        },
        ["cd", "mew-iview"],
        ["git","pull"],
        ["cd", "../node_modules/iview"],
        ["rm", "-rf", "dist"],
        ["cp", "-rf", "../../mew-iview/dist", "dist"],
        ["rm", "-rf", "src"],
        ["cp", "-rf", "../../mew-iview/src", "src"],
        ["rm", "-rf", "types"],
        ["cp", "-rf", "../../mew-iview/types", "types"],
        ["rm", "-rf", "package.json"],
        ["cp", "-rf", "../../mew-iview/package.json", "package.json"]
    ],
    "dists": {}
}